<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta name="keywords" content="keywords">
    <meta name="description" content="description">
</head>
<body>
<h1>Hello, world!</h1>
<script>
    //要使用Date对象（类），必须实例化对象（new Date())
    let d = new Date()
    document.write(`${d.toLocaleDateString()}<br>`)
    document.write(`${d.toLocaleTimeString()}<br>`)
    document.write(`${d.toLocaleString()}<br>`)
    document.write(`${d}<br>`)
    document.write(`${d.toJSON()}<br>`)


</script>
</body>
</html>
